package com.zbkj.crmeb.agent.request;

import com.common.PageParamRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class AgentAccountCenterRequest extends PageParamRequest implements Serializable {

    @ApiModelProperty(value = "服务商id")
    private Integer agentId;

    @ApiModelProperty(value = "余额类型(2可提现余额  3已冻结金额)")
    @NotNull(message = "类型不能为空")
    @Range(min = 2, max = 3, message = "类型:2 可提现余额;3 已冻结金额")
    private Integer type;

}